package com.owc.dao;

import com.owc.domain.entity.Banner;

import java.util.List;

import com.owc.domain.vo.admin.QueryVo;
import org.apache.ibatis.annotations.Param;

public interface BannerMapper extends BaseMapper<Banner, Long> {

    /**
     * 获取首页banner
     */
    List<Banner> selectHomeBanner(@Param("maxCount") Integer maxCount);

    /**
     * banner列表获取
     * @param queryVo 查询条件对象
     */
    List<Banner> selectByFilter(@Param("queryVo") QueryVo queryVo);
}